package com.lai.shop.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @BelongsPackage: com.lai.shop.config
 * @Author: laiciqi
 * @CreateTime: 2022-05-23  11:29
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "oauth2.weibo")
@Configuration
public class Oauth2WeiboConfigProperties {

    /**
     * 客户端id
     */
    private String clientId;

    /**
     * 客户端密钥
     */
    private String clientSecret;

    /**
     * 授权方式
     */
    private String grantType;

    /**
     * 成功授权回调地址
     */
    private String redirectUri;

    /**
     * 获取访问令牌地址
     */
    private String accessTokenUrl;

    /**
     * 获取第三方信息地址
     */
    private String userInfoUrl;



}
